.header-container{
  height:100px;
  background-color:#fff;
  -webkit-box-shadow:0 0 10px rgba(4, 0, 0, .1);
  -moz-box-shadow:0 0 10px rgba(4, 0, 0, .1);
  box-shadow:0 0 10px rgba(4, 0, 0, .1);
  position: relative;
  z-index: 10;
}
.home-header-container{
  position: absolute;
  z-index: 10;
  box-shadow: 0 0 0;
  background-color: inherit;
  width: 100%;
}
.center{
  height:100%;
  margin:0 auto;
  min-width:1200px;
}

.header-logo{
  display:block;
  float:left;
  width:134px;
  height:44px;
  margin:28px 0 0 45px;
}
.home-logo{
  display:block;
  float:left;
  width:269px;
  height:44px;
  margin:28px 0 0 45px;
}

.home-header-ad{
  color: #fff;
  font-size: 14px;
  margin:35px 0 0 20px;
  display: inline-block;
}
.header-container .nav{
  height:100%;
  float:left;
  margin-left:6%;
  li{
    height:100%;
    padding:0 25px;
    float:left;
  }

  a{
    color: #242424;
    display:block;
    padding:0 5px;
    height:75px;
    line-height:100px;
    height: 100px;
    position: relative;
    z-index: 1;
    font-size:18px;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    &:after{
      content: '';
      width: 100%;
      height: 2px;
      display: block;
      position: absolute;
      left: 0;
      bottom:0;
      z-index: 1;
      background-color: #fff;
      -webkit-transition: all .3s;
      transition: all .3s;
    }
    &.active, &:hover{
      color: #409EFF;
      &:after{
        background-color: #409EFF;
      }
    }
  }

}

// 登录后首页header
.header-right-xw{
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 0px !important;
}
.homIindex-c{
  position: absolute;
  top: 0;
  z-index: 10;
  background: none;
  box-shadow: 0 0 0 0;
  width: 100%;
  .nav{
    a{
      color: #fff !important;
      &:after{
        height: 0px;
      }
      &.router-link-exact-active, &:hover{
        font-weight: bold;
        &:after{
          height: 2px;
          background-color: #fff;
          bottom:15px;
        }
      }
    }
  }
  .header-right{
    .dropdown-box{
      .icon-top-menu{
      }
    }
  }
}
.homefixed{
  position: fixed;
  background-color: #fff;
  width: 100%;
}
.head-box-xw{
  display: flex;
  align-items: center;
}
// 登录后首页header
.header-right{
  float: right;
  margin-right: 50px;

  .text{
    color: rgba(25,25,25,.8);
    font-size: 12px;
    display: block;
    float: left;
    margin-top: 15px;
  }

  .head-box{
    float: left;
    position: relative;
    z-index: 1;
    padding-right: 20px;
    padding-top: 26px;

    &:after{
      content: '';
      width: 2px;
      height: 45px;
      background-color: #f2f2f2;
      position: absolute;
      bottom: 0;
      right: 0;
    }
  }

  .img{
    width: 48px;
    height: 48px;
    display: block;
    float: left;
    border-radius: 100%;
  }

  .name{
    max-width: 110px;
    color: #191919;
    font-size: 16px;
    display: inline-block;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    margin-left: 15px;
    margin-top: 15px;
    background: none;
  }

  .time{
    position: relative;
    width: 366px;
    height: 33px;
    border-radius: 20px;
    display: inline-block;
    div{
      position: absolute;
      border-radius: 20px;
      width: 100%;
      height: 100%;
      background-color: #000000;
      opacity: 0.2;
      z-index: 1;
      top: 0;
      left: 0;
    }
    .con{
      position: absolute;
      font-size: 12px;
      color: #fff;
      z-index: 2;
      width: 100%;
      height: 100%;
      text-align: center;
      line-height: 33px;
      i{
        color: #ffbb04;
      }
    }
  }

  .dropdown-box{
    position: relative;
    z-index: 1;
    float: right;
    width: 113px;
    height: 100px;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;

    &:hover{


      .icon-top-menu{
      }

      .dropdown-list{
        display: block;
      }
    }
  }

  .icon-top-menu{
    width: 100%;
    height: 100%;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    line-height: 100px;
    font-size: 14px;
    z-index: 2;
    -webkit-transition: all .3s;
    transition: all .3s;
  }

  input{
    width: 163px;
    height: 34px;
    background-color: #000;
    opacity: 0.5;
    color: #fff;
    font-size: 12px;
    padding-left: 17px;
    margin-right: 5px;
    float: left;
  }

  .btn-login{
    width: 54px;
    height: 32px;
    background-color: #ff7e32;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-top: 2px;
    float: left;
    text-align: center;
    line-height: 32px;

    &:hover{
      background-color: #ff8e4c;
    }
  }

  .wjmm{
    height: 34px;
    margin-left: 10px;
    text-decoration: underline;
    font-size: 12px;
    color: #9c9c9c;
    opacity: 0.8;
    display: inline-block;
    text-align: center;
    line-height: 50px;
  }

}
.home-head-box{
  &:after{
    width: 0 !important;
  }
}

.dropdown-list{
  position: absolute;
  top: 100px;
  right: 0px;
  z-index: 2;
  background-color: #fff;
  border-radius: 0 0 3px 3px;
  width: 164px;
  -webkit-box-shadow:1px 1px 10px rgba(4, 0, 0, .1);
  -moz-box-shadow:1px 1px 10px rgba(4, 0, 0, .1);
  box-shadow:1px 1px 10px rgba(4, 0, 0, .1);
  display: none;
  -webkit-transition: all .3s;
  transition: all .3s;

  li {
    border-bottom:1px solid #f5f5f5;
  }

  a{
    display: block;
    color: #a5a5a5;
    font-size: 14px;
    padding:21px 0;
    position: relative;
    z-index: 1;
    -webkit-transition: all .3s;
    transition: all .3s;

    &::after{
      content: '';
      display: inline-block;
      width: 2px;
      height: 100%;
      background-color: #fff;
      position: absolute;
      left: 0;
      top:0;
      -webkit-transition: all .3s;
      transition: all .3s;
    }
  }

  span {
    display: block;
    padding-left: 66px;
    position: relative;
    z-index: 1;
  }
  i{
    width:17px;
    height: 17px;
    display: inline-block;
    position: absolute;
    top: 1px;
    left: 33px;
  }
  .drop-icon-user{
  }
  .drop-icon-msg{
  }
  .drop-icon-quit{
  }

  .active, li:hover{
    a {
      color: #409EFF;
      &::after{
        content: '';
        display: inline-block;
        width: 2px;
        height: 100%;
        background-color: #409EFF;
        position: absolute;
        left: 0;
        top:0;
      }
    }

    .drop-icon-user{
    }
    .drop-icon-msg{
    }
    .drop-icon-quit{
    }
  }
}

@media screen and (max-width: 1910px) {
  .header-container .nav{
    margin-left: 4%;

    li{padding:0 20px;}
  }

  .header-right .text{
    width: 160px;
    margin-top: 3px;
  }

  .header-right{margin-right: 45px;}

  .home-header-right{margin-right: 90px !important;}

  .header-right .head-box{margin-left: 24px;}

  .head-box-xw{display: none;}

}
